package com.iwayin.core.dataobject;

import java.io.Serializable;
import java.util.Date;

import com.iwayin.core.utils.PageInfo;

public class UserDO extends PageInfo implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 7850580819891312084L;

	// 用户的状态
	public static final Long USER_LOCK_STATUS = 0L;// 删除状态
	public static final Long USER_ACTIVE_STATUS = 1L;// 正常状态
	public static final Long USER_APPLY_STATUS = 2L;// 申请状态
	public static final Long USER_NOT_ACTIVATE_STATUS = 3L;// 未激活状态 第三方平台账号

	public static final Long USER_GENDER_SECRECY = 2L;// 男
	public static final Long USER_GENDER_BOY = 1L;// 男
	public static final Long USER_GENDER_GIRL = 0L;// 女

	private Long id;
	private String loginName;
	private String loginPwd;
	private String nickname;
	private transient String pwdKey;
	private transient String email;
	private transient String trueName;
	private Long gender;
	private String summary;// 简介
	private String avatarPath;// 头像路径
	private String originalAvatarPath;// 原头像路径
	private transient Date birth;
	private Long followCount;// 关注数
	private Long fansCount;// 粉丝数
	private Long askCount;// 问问数量
	private Long receiveAnswerCount;
	private Long status;
	private transient Date createTime;
	private transient Date updateTime;
	private String websiteName;// 主页名称
	private String websiteUrl;// 主页URL
	private Long likeReceive;// 被喜欢数
	private String userFrom;// 用户来源

	private transient boolean follow;// true 代表已follow false代表未follow
	private transient Long askCountToday;
	private transient Long answerCountToday;
	private transient Long fansCountToday;
	private transient Long followCountToday;
	private transient Long commentCountToday;
	private transient Long mindScore;// 匹配分数
	private transient boolean mySelf;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getLoginName() {
		return loginName;
	}

	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}

	public String getLoginPwd() {
		return loginPwd;
	}

	public void setLoginPwd(String loginPwd) {
		this.loginPwd = loginPwd;
	}

	public String getPwdKey() {
		return pwdKey;
	}

	public void setPwdKey(String pwdKey) {
		this.pwdKey = pwdKey;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getTrueName() {
		return trueName;
	}

	public void setTrueName(String trueName) {
		this.trueName = trueName;
	}

	public Long getGender() {
		return gender;
	}

	public void setGender(Long gender) {
		this.gender = gender;
	}

	public String getSummary() {
		return summary;
	}

	public void setSummary(String summary) {
		this.summary = summary;
	}

	public String getAvatarPath() {
		return avatarPath;
	}

	public void setAvatarPath(String avatarPath) {
		this.avatarPath = avatarPath;
	}

	public Date getBirth() {
		return birth;
	}

	public void setBirth(Date birth) {
		this.birth = birth;
	}

	public Long getStatus() {
		return status;
	}

	public void setStatus(Long status) {
		this.status = status;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Long getFollowCount() {
		return followCount;
	}

	public void setFollowCount(Long followCount) {
		this.followCount = followCount;
	}

	public Long getFansCount() {
		return fansCount;
	}

	public void setFansCount(Long fansCount) {
		this.fansCount = fansCount;
	}

	public Long getAskCount() {
		return askCount;
	}

	public void setAskCount(Long askCount) {
		this.askCount = askCount;
	}

	public boolean getFollow() {
		return follow;
	}

	public void setFollow(boolean follow) {
		this.follow = follow;
	}

	public Long getReceiveAnswerCount() {
		return receiveAnswerCount;
	}

	public void setReceiveAnswerCount(Long receiveAnswerCount) {
		this.receiveAnswerCount = receiveAnswerCount;
	}

	public Long getAskCountToday() {
		return askCountToday;
	}

	public void setAskCountToday(Long askCountToday) {
		this.askCountToday = askCountToday;
	}

	public Long getAnswerCountToday() {
		return answerCountToday;
	}

	public void setAnswerCountToday(Long answerCountToday) {
		this.answerCountToday = answerCountToday;
	}

	public Long getFansCountToday() {
		return fansCountToday;
	}

	public void setFansCountToday(Long fansCountToday) {
		this.fansCountToday = fansCountToday;
	}

	public Long getFollowCountToday() {
		return followCountToday;
	}

	public void setFollowCountToday(Long followCountToday) {
		this.followCountToday = followCountToday;
	}

	public Long getCommentCountToday() {
		return commentCountToday;
	}

	public void setCommentCountToday(Long commentCountToday) {
		this.commentCountToday = commentCountToday;
	}

	public boolean isMySelf() {
		return mySelf;
	}

	public String getWebsiteName() {
		return websiteName;
	}

	public void setWebsiteName(String websiteName) {
		this.websiteName = websiteName;
	}

	public String getWebsiteUrl() {
		return websiteUrl;
	}

	public void setWebsiteUrl(String websiteUrl) {
		this.websiteUrl = websiteUrl;
	}

	public void setMySelf(boolean mySelf) {
		this.mySelf = mySelf;
	}

	public Long getMindScore() {
		return mindScore;
	}

	public void setMindScore(Long mindScore) {
		this.mindScore = mindScore;
	}

	public String getOriginalAvatarPath() {
		return originalAvatarPath;
	}

	public void setOriginalAvatarPath(String originalAvatarPath) {
		this.originalAvatarPath = originalAvatarPath;
	}

	public Long getLikeReceive() {
		return likeReceive;
	}

	public void setLikeReceive(Long likeReceive) {
		this.likeReceive = likeReceive;
	}

	public String getUserFrom() {
		return userFrom;
	}

	public void setUserFrom(String userFrom) {
		this.userFrom = userFrom;
	}

	public String getNickname() {
		return nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

}
